Pod::Spec.new do |s|
  s.name             = 'LeoPrivatePodTest'
  s.version          = '0.1.2'
  s.summary          = 'A short description of LeoPrivatePodTest.'
  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/ayangcool100/leo-private-pod-test'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'leo' => 'ayangcool100' }
  s.source           = { :git => 'https://gitee.com/ayangcool100/leo-private-pod-test.git', :tag => s.version.to_s }
  s.ios.deployment_target = '10.0'
  s.requires_arc = true
  s.static_framework = true

#   s.default_subspecs = 'Source'  
  
  # s.source_files = 'LeoPrivatePodTest/*'
  # s.public_header_files = 'LeoPrivatePodTest/*h'
  # s.subspec 'Dog' do |dog|
  #   dog.source_files = 'LeoPrivatePodTest/Dog/*'
  #   dog.public_header_files = 'LeoPrivatePodTest/Dog/*h'
  #   dog.subspec 'LittleDog' do |littleDog|
  #     littleDog.source_files = 'LeoPrivatePodTest/Dog/LittleDog/*'
  #     littleDog.public_header_files = 'LeoPrivatePodTest/Dog/LittleDog/*h'
  #   end
  # end

  s.subspec 'Source' do |sc|
    sc.source_files = 'LeoPrivatePodTest/Source/*'
    sc.public_header_files = 'LeoPrivatePodTest/Source/*h'
    sc.subspec 'Dog' do |dog|
      dog.source_files = 'LeoPrivatePodTest/Source/Dog/*'
      dog.public_header_files = 'LeoPrivatePodTest/Source/Dog/*h'
      dog.subspec 'LittleDog' do |littleDog|
        littleDog.source_files = 'LeoPrivatePodTest/Source/Dog/LittleDog/*'
        littleDog.public_header_files = 'LeoPrivatePodTest/Source/Dog/LittleDog/*h'
      end
    end
  end
end
